#include "UMLObject.h"

UMLObject::UMLObject(const QString& text)
:	_text(text)
{
}

UMLObject::~UMLObject()
{
	// just bein' virtual
}

QPoint UMLObject::position() const
{
	return _position;
}

void UMLObject::setPosition(const QPoint& p)
{
	_position = p;

	notifyObservers();
}

const BUMLSText& UMLObject::text() const
{
	return _text;
}

void UMLObject::setText(const BUMLSText& text)
{
	_text = text;

	notifyObservers();
}

/*** Hook defaults ***/

void UMLObject::translate()
{
	// hook default
}

